/*
 * stat.h
 *
 *  Created on: Dec 19, 2014
 *      Author: root
 */
/******************************************************************************************************************/
#ifndef UTIL_STAT_H_
#define UTIL_STAT_H_
/******************************************************************************************************************/
#include "../util/define.h"
/******************************************************************************************************************/
class Stat {
public:
	unsigned int cs_pkts;
	unsigned int sc_pkts;
	unsigned int cs_bytes;
	unsigned int sc_bytes;

	unsigned int cs_max_data;
	unsigned int sc_max_data;
	unsigned int cs_min_data;
	unsigned int sc_min_data;

	double last_pkt_time;

	char label[MAX_LABEL];
public:
	Stat();
	void ToString();
	void SetLabel(const char* label);
};
/******************************************************************************************************************/
#endif /* UTIL_STAT_H_ */
